<?php if ($this->hasResults()): ?><div  class="items-list widgetclass-<?php echo func_htmlspecialchars($this->getWidgetClass());?> widgettarget-<?php echo func_htmlspecialchars($this->getWidgetTarget());?> sessioncell-<?php echo func_htmlspecialchars($this->getSessionCell());?>">

  <?php if ($this->get('pager')->isVisible()): ?><div  class="<?php echo func_htmlspecialchars($this->get('pager')->getCSSClasses());?>"><?php echo func_htmlspecialchars($this->get('pager')->display());?></div><?php endif; ?>

  <?php if ($this->isHeaderVisible()): ?><div  class="list-header"><?php echo func_htmlspecialchars($this->displayInheritedViewListContent('header'));?></div><?php endif; ?>

  <?php $this->includeCompiledFile($this->getPageBodyTemplate()); ?>

  <?php if ($this->get('pager')->isVisibleBottom()): ?><div  class="list-pager"><?php echo func_htmlspecialchars($this->get('pager')->display());?></div><?php endif; ?>

  <?php if ($this->isFooterVisible()): ?><div  class="list-footer"><?php echo func_htmlspecialchars($this->displayInheritedViewListContent('footer'));?></div><?php endif; ?>

</div><?php endif; ?>

<?php if ($this->isEmptyListTemplateVisible()):
  $this->includeCompiledFile($this->getEmptyListTemplate());
endif; ?>

<script type="text/javascript">
//<![CDATA[
  new ItemsList('<?php echo func_htmlspecialchars($this->getSessionCell());?>', <?php echo $this->getURLParamsJS();?>, <?php echo $this->getURLAJAXParamsJS();?>);
//]]>
</script>
